// import request from '@/utils/request.js'
import request from '@/utils/mgop'

//活动列表
export function getActivityList(params) {
  return request({ api: 'mgop.hp.reduce.activitys', type: 'GET', data: params })
}
//活动详情
export function getActivityInfo(id) {
  return request({
    api: 'mgop.hp.reduce.activitysInfo',
    type: 'GET',
    data: { id }
  })
}
//活动报名
export function activitySignUp(id) {
  return request({
    api: 'mgop.hp.reduce.activitysApply',
    type: 'POST',
    data: { id }
  })
}
